<template>
  <div class="myContainer">
    <el-row class="myBorderBottom">
      <el-col :span="3" class="myTitleText myLineHeight_40px">新增报事工单</el-col>
    </el-row>
    <el-row class="mymarginTop_10px">
      <el-col :span="3" class="myLeftMsg">
        <span class="require myVA_M">*</span>
        报事类型 :
      </el-col>
      <el-col :span="8">
        <template>
          <el-select v-model="modelValue" placeholder="请选择报事类型">
            <el-option
              v-for="item in modelOptions"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </template>
      </el-col>
    </el-row>
    <el-row class="mymarginTop_10px">
      <el-col :span="3" class="myLeftMsg">
        <span class="require myVA_M">*</span>
        所属小区 :
      </el-col>
      <el-col :span="8">
        <template>
          <el-select v-model="modelValue" placeholder="请选择所属小区">
            <el-option
              v-for="item in modelOptions"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </template>
      </el-col>
    </el-row>
    <el-row class="myPaddingTop_10px">
      <el-col :span="3" class="myLeftMsg">
        <span class="require myVA_M">*</span>
        报事人 :
      </el-col>
      <el-col :span="10">
        <el-input placeholder="报事人"></el-input>
      </el-col>
    </el-row>
    <el-row class="myPaddingTop_10px">
      <el-col :span="3" class="myLeftMsg">
        <span class="require myVA_M">*</span>
        联系电话 :
      </el-col>
      <el-col :span="10">
        <el-input placeholder="联系电话"></el-input>
      </el-col>
    </el-row>
    <el-row class="myPaddingTop_10px">
      <el-col :span="3" class="myLeftMsg">
        <span class="require myVA_M">*</span>
        联系地址 :
      </el-col>
      <el-col :span="10">
        <el-input placeholder="联系地址"></el-input>
      </el-col>
    </el-row>
    <el-row class="myPaddingTop_10px">
      <el-col :span="3" class="myLeftMsg">
        <span class="require myVA_M">*</span>
        问题描述 :
      </el-col>
      <el-col :span="10">
        <el-input type="textarea" placeholder="问题描述"></el-input>
      </el-col>
    </el-row>
    <el-row class="myPaddingTop_10px">
      <el-col :span="10" :offset="3">
        <el-button type="button" class="myBgGreen">新 增</el-button>
        <el-button type="button" class="myBgGreen">取 消</el-button>
      </el-col>
    </el-row>
  </div>
</template>  

<style scoped>
  .myContainer{
    background: #fff;
    padding: 10px;
  }
  .myHeadeTitle{
    color: #000;
    font-weight: 500;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dbdbdb;
    margin-bottom:10px; 
  }
  .myHeadeTitle:before,.myHeadeTitle:after{
    content: " ";
    display: block;
    clear: both;
  }
  .myBgGreen{
    background: #00c2a9;
    border-color: #00c2a9;
    color: #fff;
    margin-top: 2px;
  }
  .myLineHeight_35px{
    line-height: 35px;
  }
  .myTextAlignRight{
    text-align: right;
  }
  .myBgGreen:hover{
    background: #33ceba;
  }
  .myPaddingTop_10px{
    padding-top: 10px;
  }  
  .myLeftMsg{
    line-height: 40px;
    text-align: right;
    padding-right: 10px;
  }
  .myPaddingBottom_10px{
    padding-bottom: 10px;
  }
  .myVA_M{
    vertical-align: middle;
  }
  .myPadding_20px{
    padding: 20px;
  }    
  .myTitleText{
    font-weight: 500;
    font-size: 16px;
  }
  .myLineHeight_40px{
    line-height: 40px;
  }
  .myBorderBottom{
    border-bottom:1px solid #dbdbdb;
  }
  .mymarginTop_10px{
    padding-top: 10px;
  }  
</style>

<script>

  export default {
     data(){
      return{
        modelValue:"",
        modelOptions:[]
      }
    },
    components: {
    },
    mounted(){
      document.title = '新增报事工单';
    },
    methods:{
      
    }

  }

</script>  



